/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.AttributeManager;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "库位表",TableName = "BinLocation")]
    public partial class BinLocation:BaseEntity
    {
        /// <summary>
       ///主键id
       /// </summary>
       [Key]
       [Display(Name ="主键id")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int id { get; set; }

       /// <summary>
       ///库位编号
       /// </summary>
       [Display(Name ="库位编号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string BinLocationCode { get; set; }

       /// <summary>
       ///库位名称
       /// </summary>
       [Display(Name ="库位名称")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string BinLocationName { get; set; }

       /// <summary>
       ///面积
       /// </summary>
       [Display(Name ="面积")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Area { get; set; }

       /// <summary>
       ///最大载重
       /// </summary>
       [Display(Name ="最大载重")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Maximum { get; set; }

       /// <summary>
       ///是否启用
       /// </summary>
       [Display(Name ="是否启用")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsLock { get; set; }

       /// <summary>
       ///是否冻结
       /// </summary>
       [Display(Name ="是否冻结")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsFreeze { get; set; }

       /// <summary>
       ///产品是否混放
       /// </summary>
       [Display(Name ="产品是否混放")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsProductsMix { get; set; }

       /// <summary>
       ///批次是否混放
       /// </summary>
       [Display(Name ="批次是否混放")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsBatchMix { get; set; }

       /// <summary>
       ///库位位置X
       /// </summary>
       [Display(Name ="库位位置X")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? LocationX { get; set; }

       /// <summary>
       ///库位位置Y
       /// </summary>
       [Display(Name ="库位位置Y")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? LocationY { get; set; }

       /// <summary>
       ///库位位置Z
       /// </summary>
       [Display(Name ="库位位置Z")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? LocationZ { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Descs { get; set; }

       /// <summary>
       ///库位二维码
       /// </summary>
       [Display(Name ="库位二维码")]
       [MaxLength(500)]
       [Column(TypeName="nvarchar(500)")]
       [Editable(true)]
       public string BinLocationImg { get; set; }

       /// <summary>
       ///库区编号
       /// </summary>
       [Display(Name ="库区编号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string ReservoirAreaCode { get; set; }

       
    }
}